﻿using ExpenseSystem.Common;
using ExpenseSystem.Model;

namespace ExpenseSystem.Core.DataAddOn
{
    public class UserSetDefaultPasswordAddOn : IAddable<UserModel>
    {
        public void Add(UserModel data)
        {
            data.Password = StringHelper.StringToMD5(data.Code+"123");
        }
    }
}
